Auto merge of #3552 - keeperofdakeys:proc-macro-doc-test, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 18 Jan 2017 02:45:13 +0000 (02:45 +0000)
committerbors <bors@rust-lang.org>
Wed, 18 Jan 2017 02:45:13 +0000 (02:45 +0000)
Allow doc tests to run on proc macro crates

Fixes https://github.com/rust-lang/cargo/issues/3545

Since `--test` works for rustc, doctests should also work. Currently cargo isn't setup to run doctests for proc macro crates, this PR adds them to the list.

Currently rustdoc can run doctests for proc-macro crates, but the `phase_2_configure_and_expand` call` triggers the following warning:

```
the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type
```

So perhaps this PR should wait until I've finished creating/testing the PR for rustc.

1  2 
src/cargo/core/manifest.rs

Simple merge